package it.blueocean.acanto.web.platform.components.repeaters;

import org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxNavigationToolbar;
import org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable;

public class AcantoNavigationToolbar extends AjaxNavigationToolbar
{
	private static final long serialVersionUID = -1367506792898893439L;

	public AcantoNavigationToolbar(DataTable<?> table)
	{
		super(table);
	}
	
	@Override
	public boolean isVisible()
	{
		return (getTable().getRowCount() > 1);
	}

}
